\hypertarget{class_tree_interface}{\section{Tree\-Interface Class Reference}
\label{class_tree_interface}\index{Tree\-Interface@{Tree\-Interface}}
}


{\ttfamily \#include $<$Tree\-Interface.\-h$>$}

Inheritance diagram for Tree\-Interface\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_tree_interface}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{class_tree_interface_ae856ad5a7f1f022443f5013dffe372e4}{insert} (\hyperlink{class_term}{Term} $\ast$)=0
\item 
virtual \hyperlink{class_term}{Term} $\ast$ \hyperlink{class_tree_interface_a18ab41d47ccbc012e8620f9f1408cfa6}{search} (std\-::string word)=0
\item 
virtual void \hyperlink{class_tree_interface_a7267f93b04e0c74f0299f27759800d45}{output\-File} (ofstream \&)=0
\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{class_tree_interface_ae856ad5a7f1f022443f5013dffe372e4}{\index{Tree\-Interface@{Tree\-Interface}!insert@{insert}}
\index{insert@{insert}!TreeInterface@{Tree\-Interface}}
\subsubsection[{insert}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Tree\-Interface\-::insert (
\begin{DoxyParamCaption}
\item[{{\bf Term} $\ast$}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_tree_interface_ae856ad5a7f1f022443f5013dffe372e4}
Insert a term into the tree structure 
\begin{DoxyParams}{Parameters}
{\em ptr} & to \hyperlink{class_term}{Term} to insert \\
\hline
\end{DoxyParams}


Implemented in \hyperlink{class_hash_table_adapter_a8b962d93ec3ed4db3257070b54f848d6}{Hash\-Table\-Adapter}, and \hyperlink{class_a_v_l_tree_adapter_a3bd09a82f9365eb1d28eb02026871044}{A\-V\-L\-Tree\-Adapter}.

\hypertarget{class_tree_interface_a7267f93b04e0c74f0299f27759800d45}{\index{Tree\-Interface@{Tree\-Interface}!output\-File@{output\-File}}
\index{output\-File@{output\-File}!TreeInterface@{Tree\-Interface}}
\subsubsection[{output\-File}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Tree\-Interface\-::output\-File (
\begin{DoxyParamCaption}
\item[{ofstream \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_tree_interface_a7267f93b04e0c74f0299f27759800d45}
Output the index to the inverted index file 
\begin{DoxyParams}{Parameters}
{\em } & \\
\hline
\end{DoxyParams}


Implemented in \hyperlink{class_hash_table_adapter_aab63cf73a585ea9094c96ae379bc4711}{Hash\-Table\-Adapter}, and \hyperlink{class_a_v_l_tree_adapter_aea471fe56611fcaaa331cf6c690cc24b}{A\-V\-L\-Tree\-Adapter}.

\hypertarget{class_tree_interface_a18ab41d47ccbc012e8620f9f1408cfa6}{\index{Tree\-Interface@{Tree\-Interface}!search@{search}}
\index{search@{search}!TreeInterface@{Tree\-Interface}}
\subsubsection[{search}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf Term}$\ast$ Tree\-Interface\-::search (
\begin{DoxyParamCaption}
\item[{std\-::string}]{word}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_tree_interface_a18ab41d47ccbc012e8620f9f1408cfa6}
Search for a given word as the key value 
\begin{DoxyParams}{Parameters}
{\em word} & the word to search for \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
ptr to the matching \hyperlink{class_term}{Term} 
\end{DoxyReturn}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Christopher/\-Documents/\-Net\-Beans\-Projects/pbsearch/\-Search\-Engine/\hyperlink{_tree_interface_8h}{Tree\-Interface.\-h}\end{DoxyCompactItemize}
